import { BaseService, Service, Permission } from '@/cool';

@Service('crm/jdActivityGoods')
export default class extends BaseService {
	@Permission('checkGoods')
	checkGoods(params) {
		return this.request({
			url: '/checkGoods',
			params: {
				...params
			}
		});
	}
	@Permission('page2')
	page2(params) {
		return this.request({
			url: '/page',
			params: {
				...params,
				app: null
			}
		});
	}

	// 优惠券检索
	@Permission('checkCoupon')
	checkCoupon(params) {
		return this.request({
			url: '/checkCoupon',
			params: {
				...params
			}
		});
	}
}
